home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
BBS Toolkit
/
BBS Toolkit.iso
/
gt_power
/
gth035.zip
/
MODEM.MST
< prev
next >
Wrap
Text File
|
1990-08-09
|
10KB
|
245 lines
┌────────────────────────────────────────────────────────────────────────┐
│ You are now looking at a "sample" configuration which you should edit │
│ as suits your modem type. The information shown in these boxes is for │
│ guidance - the indents will ensure that it does not affect the │
│ results during testing, but it should be deleted when you have │
│ finished editing the file. (Leave all *unboxed* comments in). │
├────────────────────────────────────────────────────────────────────────┤
│ Unless there's a good reason for doing otherwise (such as the modem │
│ doesn't support it), try to standardise on : │
│ │
│ Fixed DTE │
│ │
│ GT controls answering (eg by S0=0 always in modem) │
│ │
│ Drop DTR to hangup. │
│ │
│ Presume nothing (begin by restoring factory default if possible) │
│ │
│ Describe everything as best as you can. It might help you later │
│ or mean that others can understand why you've done what you │
│ have. │
└────────────────────────────────────────────────────────────────────────┘
This configuration operates using Fixed DTE rate.
Answering is controlled solely by GT (ie, S0=0 at all times).
This ensures that the modem does not answer calls at unwanted times.
The setup leaves the modem in "MNP-optional" (&E4) mode, ie a MNP
connection will be established if the remote end supports it,
otherwise a non-MNP connection will be established. &E4 mode is
not documented in the manual, but works - though it might not on
older quattrocards.
Assumptions:
-----------
┌───────────────────────────────────────────────────────────────────────────┐
│ If your configuration is dependent on DIPswitch settings or prior entries │
│ in non-volatile RAM, here is the place to mention it. Of course, avoid │
│ that if possible - but the INIT string may not always have enough space │
│ to define everything when starting from an unknown state. │
└───────────────────────────────────────────────────────────────────────────┘
This configuration assumes nothing except the AT&F defaults.
Customising
-----------
┌──────────────────────────────────────────────────┐
│ Please leave the next note in for people to read │
└──────────────────────────────────────────────────┘
When used with GT-Help, all non-indented lines are copied to the GT-CNF
file. So if editing, be sure to keep comments and commands suitably
distinguished in this way.
-------------------------------------------------------------------
BA= Default Baud Rate. Usually the highest rate the DTE interface supports.
BA=2400
-------------------------------------------------------------------
MB= Maximum Baud Rate. Usually the highest line rate the modem supports.
MB=2400
-------------------------------------------------------------------
CS= Honor CTS from modem option. Usually wanted, ALWAYS if fixed DTE rate.
CS=TRUE
-------------------------------------------------------------------
Non-hayes setups. If not applicable, leave them listed but empty to
ensure old contents are properly overwritten when transferred to GT.CNF.
S2=
S4=
S5=
S6=
S7=
S8=
P0=
P1=
P2=
P3=
P4=
P5=
P6=
P7=
-------------------------------------------------------------------
┌─────────────────────────────────────────────────────────────────────┐
│ This is really for the end user to change. The distributed library │
│ copy ought to stick with pulse dialling unless unsupported. │
└─────────────────────────────────────────────────────────────────────┘
Standard Dialling Prefix. You will want to change this to ATTD if
your phone line and modem both support tone dialling.
PR=ATPD
-------------------------------------------------------------------
PO= Dialing Post String. Usually just a | (for carriage return).
PO=|
-------------------------------------------------------------------
HU= The modem hang-up string. Normally keep it *empty* (DTR control).
HU=
-------------------------------------------------------------------
┌────────────────────────────────────────────────────────────────────────────┐
│ This is the one that's likely to need most work. Begin by re-establishing │
│ factory defaults if that's possible, then change everything that needs │
│ to be different. There may not be enough space to do this, see above │
│ if dipswitch settings or non-volatile RAM conditions must be preset. │
│ │
│ Describe the parameters used, and reasons where appropriate, as comments. │
└────────────────────────────────────────────────────────────────────────────┘
MI= Modem initialization string :
- - - line length limit - - - - - - - ──┐
│
MI=~AT&F&C1&D3&E4&I1&K2X6S10=35|
&F restores factory defaults, so you don't have to have
to know what's specified in non-volatile RAM.
&C1 is important - prevents modem from pretending there's a
carrier when there isn't.
&D3 ensures modem disconnects and is reset whenever DTR is dropped
&E4 enables MNP error correction
&I1 enables constant speed interface (connect message showing
line speed)
&K2 enables hardware (CTS) flow control
X6 all response codes enabled
S10=35 keep online until carrier lost for more than about
3 seconds
-------------------------------------------------------------------
┌─────────────────────────────────────────────────────────────────┐
│ In most cases you probably won't need too much in the HOST init │
│ string (only the difference from the MI string above). │
└─────────────────────────────────────────────────────────────────┘
HO= Host mode, modem initialization string.
HO=~ATS2=43 S10=25|
S2=43 stops command mode if user types +++
S10=25 slightly tighter carrier monitoring when in host
-------------------------------------------------------------------
AS= Answer string.
AS=~ATA|
-------------------------------------------------------------------
┌─────────────────────────────────────────────────────────────────────┐
│ For uniformity we will set these both up as SPEAKER ON. Users can │
│ change it via the ALT-I command if they want something different. │
└─────────────────────────────────────────────────────────────────────┘
SY= Speaker command for initial dialling (change to M0 for speaker off)
SY=~ATM1|
-------------------------------------------------------------------
SN= Speaker command for repeat dialling (change to M0 for speaker off)
SN=~ATM1|
-------------------------------------------------------------------
FC= Forced Carrier. You definitely don't want this.
FC=FALSE
-------------------------------------------------------------------
┌───────────────────────────────────────────────────────────────────────────┐
│ In the result codes section, you need to include all possible │
│ result codes for the configuration you have set up, plus (if possible) │
│ result codes for alternative error corrections that might get used in │
│ terminal mode. │
│ │
│ Remember : │
│ a) at 300 bauds some modems return just CONNECT - others CONNECT 300. │
│ b) GT has no slot for 300 with error correction - so the result code │
│ for 300 and 300/ARQ or whatever must both show on RC=1 │
│ c) some V23 modems give CONNECT 7512 rather than 1275 on incoming calls. │
└───────────────────────────────────────────────────────────────────────────┘
RC= Result codes.
RC=0,OK,Trying to connect:-
RC=1,CONNECT 300,CONNECT 300/REL
RC=2,RING
RC=3,NO CARRIER,(Timeout),(Aborted!)
RC=4,ERROR
RC=5,CONNECT 1200,CONNECT 1275
RC=6,NO DIALTONE
RC=7,BUSY
RC=8,NO ANSWER,BLACKLISTED
RC=9,
RC=10,CONNECT 2400
RC=11,
RC=12,
RC=13,CONNECT 9600
RC=14,CONNECT 1200/ARQ ON,CONNECT 1275/ARQ ON
RC=15,CONNECT 1200/REL,CONNECT 1275/REL
RC=16,CONNECT 2400/REL,CONNECT 2400/ARQ ON
RC=17,
RC=18,
RC=19,
-------------------------------------------------------------------
HN= Off-hook string. Sent to modem when the sysop logs on to GT locally.
Often used to make it go off-hook, though its not compulsory.
HN=~ATH1|
-------------------------------------------------------------------
HY= On-hook string. Sent to modem when sysop logs off after local use
HY=~ATH0|
*** END ***